﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="utf-8" %>

<form id="form1">
    <div class='myzh_right_content fr'>
        <p class='right_head_title'><span class="span1">我的 ></span> 操作</p>
        <div class="recharge-content">
            <input type="hidden" id="user_id" name="user_id" value="${data.user_id}"/>
            <div class="mt-10">
                <span class="fl mt-3 w-120">用户编号：</span>
                ${data.user_id}
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">注册email：</span>
                ${data.email}
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">昵称：</span>
                ${data.nick_name}
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">真实姓名：</span>
                ${data.name}
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">头图：</span>
                <a target="_blank" href="${data.head_figure}">
                    <img src="${imgurl}${data.head_figure}" width="200" height="200">
                </a>
                <div class="cl"></div>
            </div>
            <%--<div class="mt-10">--%>
            <%--<span class="fl mt-3 w-120">状态：</span>--%>
            <%--<input type="text" class="txt txt-1 fl w-220" id="status" name="status" value="${data.status}">--%>
            <%--<div class="cl"></div>--%>
            <%--</div>--%>
            <div class="mt-10">
                <span class="fl mt-3 w-120">注册来源：</span>
                ${data.request_from}
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">积分：</span>
                ${data.integral<=0?"0":data.integral}
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">邀请码：</span>
                ${data.invite_code}
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">创建时间：</span>
                <fmt:formatDate value="${data.create_time}" pattern="yyyy-MM-dd HH:mm:ss"></fmt:formatDate>
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">最后修改时间：</span>
                <fmt:formatDate value="${data.modify_time}" pattern="yyyy-MM-dd HH:mm:ss"></fmt:formatDate>
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">备注：</span>
                <input type="text" class="txt txt-1 fl w-220" id="memo" name="memo" value="${data.memo}">
                <div class="cl"></div>
            </div>

            <div class="mt-30 ml-10">
                <input type="button" class="btn btn-2 fl w-100 ml-20" value="返回"
                       onclick="window.location='${basePath}/t_user_seller_info/list'">
            </div>
        </div>
    </div>
</form>
<div class='clear'></div>
<script type="text/javascript">
    function add() {
        $.post("${basePath}/ajax/t_user_seller_info/add", $("#form1").serialize(), function (d) {
            if (d.code == 1) {
                alert("成功");
                window.location = "${basePath}/t_user_seller_info/list";
                return;
            }
            alert("失败");
        });
    }
</script>


